import http from '../base'

// 发送信息
export function sendMessage(data) {
  return http({
    url: '/api/message/send',
    method: 'POST',
    params: data,
  })
}
// 获取聊天记录
export function messageList(params) {
  return http({
    url: '/api/message/listPage',
    method: 'GET',
    params,
  })
}
// 修改用户基础信息
export function changeDetail(params) {
  return http({
    url: '/sys/user/base',
    method: 'PUT',
    params,
  })
}